#ifndef GETCOMMONS_H
#define GETCOMMONS_H

#include <QObject>
#include <QXmlStreamReader>
#include <QXmlStreamAttributes>
#include <QFile>
#include <cglobals.h>
#include <QMessageBox>
#include <QDebug>


//#pragma execution_character_set("utf-8")

class GetCommons : public QObject
{
    Q_OBJECT
public:
    explicit GetCommons(QObject *parent = nullptr);
    ~GetCommons();
    void readConfigFile(QString configFile);
    void getConfig(pCOMMONS pCommons);

signals:

private:
    struct _commons commons;
};

#endif // GETCOMMONS_H
